import { UserInfo } from '@/types/user-info';

export interface Activity {
    _id: string;
    creatorId: string;
    joiners?: ActivityJoiner[];
    name: string;
    time: number;
    creator: UserInfo;
    users: UserInfo[];
    seasonId: string;
}

export interface ActivityJoiner {
    id: number;
    score: number;
}

export interface ActivityAbstract {
    id: string;
    score: number;
    seasonId: string;
    quit: boolean;
    time: number;
}
